<%@ page language="java"  pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><fmt:message key="systemHelpDetail.heading"/></title>
<script type="text/javascript">
$(function(){
	CKEDITOR.replace( 'context',
			{
			toolbar : 'Basic',
			width : '750px',
			height : '250px'
			});
	})
</script>

<SCRIPT type=text/javascript>
	$(document).ready(function(){
		setEmptyCheck("title:sort");	
	    setIntegeCheck("sort");
	});
</SCRIPT>
  </head>
  <body>
  
<ul>
  <li class="titleonly"><img src="${ctxPath}/image/dot.gif" width="15" height="14" class="dot" />&gt;&gt;保存帮助信息 
  <a href="${ctxPath}/admin/system/systemHelps.do"><img src="${ctxPath}/image/backtrack.gif" width="14" height="14" align="absmiddle" class="backtrack"/>返回</a></li>
</ul>
 <form:form method="post" id="systemHelp"  commandName="systemHelp" action="editSystemHelp.do">
 <form:hidden path="systemId"/>
  <li class="txtinfo">
	<label><fmt:message key="systemHelp.title"/></label>
	<input name="title" type="text" class="inputbox240" id=title check=2 tip="不能为空" value="${systemHelp.title }" />
  </li>
  <li class="txtinfo">
	<label><fmt:message key="systemHelp.content"/></label>
 	<textarea id="context" name="content" cols="100" rows="18">${systemHelp.content}</textarea>
  </li> 
  <li class="txtinfo">
   <label><fmt:message key="systemHelp.sort"/></label>
   <input name="sort" type="text" class="inputbox120" id=sort check=2 tip="正确输入排序" value="${systemHelp.sort }" />
   <form:errors path="sort" cssClass="fieldError" />
	
	<input name="submit" type="submit" onclick="bCancel=false" value="保 存 " class="inputsubmit"/>
	&nbsp;
	<input name="cancel" type="submit" onclick="bCancel=true" value="取 消 " class="inputsubmit"/>
  </li>
  </form:form>
</ul>  
		
  </body>
</html>